<template>
  <div>
      <van-nav-bar title="标题" left-text="返回" left-arrow />

      <van-card
      v-for="(item,index) in booklist"
      :key="index"
      :price="parseFloat(item.price).toFixed(2)"
      :desc="item.author"
      :title="item.name"
      :thumb="'http://localhost:8080/'+item.img"

    >
        <template #tags>
          <van-tag  type="danger">{{item.category}}</van-tag>
        </template>
    </van-card>
  </div>
  
</template>

<script>
import axios from "axios"

export default {
    created: function() {
        let _this = this;

        axios.get("")
    }
}
</script>